package com.ruoyi.order.domain;


import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

public class Goods extends BaseEntity {
  private static final long serialVersionUID = 1L;
  @Excel(name = "商品唯一标识")
  private long goodsId;
  @Excel(name = "商品名称")
  private String goodsName;
  @Excel(name = "商品介绍")
  private String goodsInfo;
  @Excel(name = "商品价格")
  private double goodsPrice;
  @Excel(name = "商品图片路径")
  private long goodsImgId;
  @Excel(name = "商家外键id")
  private long goodsShopId;
  @Excel(name = "商品库存")
  private long goodsNum;
  @Excel(name = "商品状态（上架，下架）")
  private long goodsStatus;

  private int categoryId;

  public int getCategoryId() {
    return categoryId;
  }

  public void setCategoryId(int categoryId) {
    this.categoryId = categoryId;
  }

  public long getGoodsId() {
    return goodsId;
  }

  public void setGoodsId(long goodsId) {
    this.goodsId = goodsId;
  }


  public String getGoodsName() {
    return goodsName;
  }

  public void setGoodsName(String goodsName) {
    this.goodsName = goodsName;
  }


  public String getGoodsInfo() {
    return goodsInfo;
  }

  public void setGoodsInfo(String goodsInfo) {
    this.goodsInfo = goodsInfo;
  }


  public double getGoodsPrice() {
    return goodsPrice;
  }

  public void setGoodsPrice(double goodsPrice) {
    this.goodsPrice = goodsPrice;
  }


  public long getGoodsImgId() {
    return goodsImgId;
  }

  public void setGoodsImgId(long goodsImgId) {
    this.goodsImgId = goodsImgId;
  }


  public long getGoodsShopId() {
    return goodsShopId;
  }

  public void setGoodsShopId(long goodsShopId) {
    this.goodsShopId = goodsShopId;
  }


  public long getGoodsNum() {
    return goodsNum;
  }

  public void setGoodsNum(long goodsNum) {
    this.goodsNum = goodsNum;
  }


  public long getGoodsStatus() {
    return goodsStatus;
  }

  public void setGoodsStatus(long goodsStatus) {
    this.goodsStatus = goodsStatus;
  }

  @Override
  public String toString() {
    return "Goods{" +
            "goodsId=" + goodsId +
            ", goodsName='" + goodsName + '\'' +
            ", goodsInfo='" + goodsInfo + '\'' +
            ", goodsPrice=" + goodsPrice +
            ", goodsImgId=" + goodsImgId +
            ", goodsShopId=" + goodsShopId +
            ", goodsNum=" + goodsNum +
            ", goodsStatus=" + goodsStatus +
            ", categoryId=" + categoryId +
            '}';
  }
}
